$(function(){
	$('.xz_l').click(function(){
		location.href='../index.html';
		$(this).css("background","#ccc");
	})
	$('.x2_b').click(function(){
		
		$(this).css({"background":"#fe7418","color":"#fff"});
		setTimeout(function(){
			$('.x2_b').css({"background":"#fff","color":"#fe7418"});
		},2000)
	});
	
	$.ajax({
		type:"GET",
		url:"../json/xzchengshi.json",
		dataType:"json",
		success:function(data){
			var str=template("m_3json",{arr:data});
			$('.m_3json').html(str);
		}
	})
	
	$('.iptc').keyup(function(){
		var ce=$(this).val();
		if(ce!=""){
			$('.ing').show();
		}else{
			$('.ing').hide();
		}
		$('.ing').click(function(){
			$('.iptc').val("");
			$('.ing').hide();
		})
	})
})
